package cn.stronglink.oil.video;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import cn.jzvd.Jzvd;
import cn.jzvd.JzvdStd;
import cn.stronglink.oil.R;

public class VideoActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_video);
        initVideo();
    }

    private void initVideo(){
        JzvdStd jzvdStd = findViewById(R.id.videoplayer);
        jzvdStd.setUp("rtmp://live.hkstv.hk.lxdns.com/live/hks", "饺子闭眼睛", Jzvd.SCREEN_WINDOW_NORMAL);
    }
}
